Remove broken parameter 'table' in wgObjectCaches for CACHE_DB
authorSergio Santoro <santoro.srg@gmail.com>
Wed, 8 Oct 2014 15:36:17 +0000 (17:36 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Wed, 15 Oct 2014 12:58:54 +0000 (12:58 +0000)
$wgObjectCaches in DefaultSettings.php had the useless
parameter 'table' for CACHE_DB.
SqlBagOStuff actually uses 'tableName' parameter, it
already defaults to 'objectcache' so there's no need
to write it again.

Change-Id: I5fe6b7c5f4d46cc8642c42861bc7078b795f5fb1

includes/DefaultSettings.php

index 97ffcad..de29f0d 100644 (file)
@@ -2092,7 +2092,7 @@ $wgLanguageConverterCacheType = CACHE_ANYTHING;
  */
 $wgObjectCaches = array(
        CACHE_NONE => array( 'class' => 'EmptyBagOStuff' ),
-       CACHE_DB => array( 'class' => 'SqlBagOStuff', 'table' => 'objectcache' ),
+       CACHE_DB => array( 'class' => 'SqlBagOStuff' ),
 
        CACHE_ANYTHING => array( 'factory' => 'ObjectCache::newAnything' ),
        CACHE_ACCEL => array( 'factory' => 'ObjectCache::newAccelerator' ),